package cate.game.role.friend.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBFriend;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "赠送礼物 の 返回")
public class FriendGiftSendResp implements MsgOutput {

    @NoteField(value = "今日已送礼物数")
    public int sentToday;

    @NoteField(
            value = "已送过的好友的唯一ID记录")
    public Map<String, Boolean> sentMap;

    public FriendGiftSendResp(){}

    public FriendGiftSendResp(int sentToday, Map<String,Boolean> sentMap) {
        this.sentToday = sentToday;
        this.sentMap = sentMap;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBFriend.GIFT_SEND_RESP;
    }
}
